package cn.tedu.charging.order.pojo.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("charging_bill_success")
public class ChargingBillSuccessPo {

    @TableId(type= IdType.AUTO)
    @ApiModelProperty(value = "主键ID，自增")
    private Integer id;

    @ApiModelProperty(value = "账单ID")
    private String billId;

    @ApiModelProperty(value = "充电容量")
    private Float chargingCapacity;

    @ApiModelProperty(value = "电费金额")
    private BigDecimal electricMoney;

    @ApiModelProperty(value = "服务费金额")
    private BigDecimal serviceMoney;

    @ApiModelProperty(value = "充电时长")
    private Integer chargingDuration;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "操作员ID")
    private Integer operatorId;

    @ApiModelProperty(value = "站点ID")
    private Integer stationId;

    @ApiModelProperty(value = "枪ID")
    private Integer gunId;

    @ApiModelProperty(value = "车辆ID")
    private Integer vehicleId;

    @ApiModelProperty(value = "充电开始时间")
    private Date chargingStartTime;

    @ApiModelProperty(value = "充电结束时间")
    private Date chargingEndTime;

    @ApiModelProperty(value = "账单状态")
    private Byte billStatus;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    @ApiModelProperty(value = "支付渠道")
    private Byte payChannel;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "删除标志（0：未删除，1：已删除）")
    private Byte deleted;
}
